package com.example.yjhteam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 队伍表
 * </p>
 *
 * @author ly
 * @since 2023-07-18
 */
@Data
public class Teams implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 队伍ID
     */
        @TableId(value = "team_id", type = IdType.AUTO)
      private Long teamId;

      /**
     * 队伍名称
     */
      private String name;

      /**
     * 队伍图标
     */
      private String icon;

      /**
     * 队伍宣传大图
     */
      private String image;

      /**
     * 队伍成绩
     */
      private String achievements;

      /**
     * 队伍介绍
     */
      private String description;

    
    public Long getTeamId() {
        return teamId;
    }

      public void setTeamId(Long teamId) {
          this.teamId = teamId;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getIcon() {
        return icon;
    }

      public void setIcon(String icon) {
          this.icon = icon;
      }
    
    public String getImage() {
        return image;
    }

      public void setImage(String image) {
          this.image = image;
      }
    
    public String getAchievements() {
        return achievements;
    }

      public void setAchievements(String achievements) {
          this.achievements = achievements;
      }
    
    public String getDescription() {
        return description;
    }

      public void setDescription(String description) {
          this.description = description;
      }

    @Override
    public String toString() {
        return "Teams{" +
              ", teamId=" + teamId +
                  ", name=" + name +
                  ", icon=" + icon +
                  ", image=" + image +
                  ", achievements=" + achievements +
                  ", description=" + description +
              "}";
    }
}
